//
//  ButtonCollectionViewCell.m
//  QinrenManagers
//
//  Created by easaa on 15/8/7.
//  Copyright (c) 2015年 easaa. All rights reserved.
//

#import "ButtonCollectionViewCell.h"

@implementation ButtonCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)fillCellWithModel:(BottomButtonModel *)model
{
//    self.buttonNameLabel.userInteractionEnabled = YES;
    self.buttonNameLabel.text = model.evaluate_name;
    
    [self.selectButton setBackgroundImage:[UIImage imageNamed:@"jizhuzhanghao_"] forState:UIControlStateNormal];
    [self.selectButton setBackgroundImage:[UIImage imageNamed:@"jizhumima_"] forState:UIControlStateSelected];
    //[self.selectButton addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
    
}


//-(void)btnClick:(UIButton *)sender
//{
//    // NSLog(@"%d",sender.selected);
//    if (self.sendBlock) {
//        self.sendBlock(sender);
//    }
//}

@end
